package cn.stylefeng.guns.modular.gui.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 轮播管理
 * </p>
 *
 * @author Dong
 * @since 2023-06-14
 */
@TableName("p_banner")
public class Banner implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 图片地址
     */
    @TableField("url")
    private String url;

    /**
     * 分类
     */
    @TableField("type")
    private Integer type;
    @TableField("openTz")
    private Integer openTz;
    @TableField("path")
    private String path;


    public Integer getOpenTz() {
		return openTz;
	}

	public void setOpenTz(Integer openTz) {
		this.openTz = openTz;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Banner{" +
        "id=" + id +
        ", url=" + url +
        ", openTz=" + openTz +
        ", type=" + type +
        ", path=" + path +
        "}";
    }
}
